package com.itqf.sms.utils;

import org.springframework.util.DigestUtils;

/**
 * projectName: springboot_part
 *
 * @author: 赵伟风
 * time: 2021/9/22 16:11
 * description: 字符串类型的工具类
 */
public class StringUtils {

    /**
     * 处理密码,密码加密的工具类
     * @param pwd
     * @return
     */
    public static String dealPassword(String pwd){

        String password = DigestUtils.md5DigestAsHex((pwd + "sms").getBytes());

        return password;
    }

}
